package com._21cn.cms.article;

/**
 * Created by Thinkpad on 2017/3/30.
 */
public class Constants {

    public static final int DEFAULT_SUMMARY_LENGTH         = 100;
    public static final String CLIENT_CODE_PC       = "a";
    public static final String CLIENT_CODE_WAP      = "m";
    public static final String CLIENT_CODE_APP      = "c";

    public static final int PUBLISH_STATUS_NONE = 0;            //未发布
    public static final int PUBLISH_STATUS_DONE = 1;            //人工发布
    public static final int PUBLISH_STATUS_FETCH_DONE = 2;     //采集发布
    public static final int PUBLISH_STATUS_CANCEL = 4;          //撤稿

    public static final int PIC_FLAG_NO_PIC      =   0;           //没图
    public static final int PIC_FLAG_HAVE_PIC    =   1;           //有图

    public static final int SUMMARY_FLAG_NO_SUMMARY     =   0;      //没摘要
    public static final int SUMMARY_FLAG_HAS_SUMMARY     =   1;      //有摘要

    public static final int PUSH_STATUS_FAIL        = 0;   //推送失败
    public static final int PUSH_STATUS_SUCCESS     = 1;    //推送成功
    public static final int PUSH_STATUS_AGAIN       = 2;    //推送重复

    public static final int PUBLISH_COLUMN_MASTER			= 0;			//主栏目
    public static final int PUBLISH_COLUMN_SLAVE			= 1;			//从栏目

    public static final int ARTICLE_TYPE_COMMON          = 1;                //资讯
    public static final int ARTICLE_TYPE_PIC              = 2;                //图片
    public static final int ARTICLE_TYPE_VIDEO            = 3;                //视频

    public static final String PAGER_TAG_START      =       "<p class=\"pager\">";
    public static final String PAGER_TAG_END        =      "</p>";

    public static final int REGION_TYPE_COMMON				= 1;			//普通区块
    public static final int REGION_TYPE_INCLUDE				= 2;			//嵌套区块
}
